package com.bp.ice.serviceimp;

import com.bp.ice.dao.iceDao11;
import com.bp.ice.entity.haveice11;
import com.bp.ice.service.iceservice11;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.w3c.dom.ls.LSException;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Service
public class Iceserviceimp11 implements iceservice11 {
    @Autowired
    private iceDao11 iceDao11;
    @Override
    public List<haveice11> findfindleyId(Integer id) {
        List<haveice11> haveice11s = iceDao11.findleyId(id);
        return haveice11s;
    }

    @Override
    public List<haveice11> findPriceDown() {
        List<haveice11> priceDown = iceDao11.findPriceDown();
        return priceDown;
    }

    @Override
    public List<haveice11> findByName(String name) {
        List<haveice11> findName=iceDao11.findByName(name);

        return findName;
    }
}
